package ch8;

/**
 * @author oldliu
 * @since 1.0
 */
public class GetMax {
    public static void main(String[] args) {
        int a[] = {1, 46, 44, 67, 23, 60,23, 55, 780, 9};
        int max=a[0];
        for(int i=1;i<a.length;i++){
            if(a[i]>max){
                max=a[i];
            }
        }
        System.out.println("最大的是："+max);
    }
}
